package com.rockcent.service.impl;

import com.rockcent.common.common.PageResult;
import com.rockcent.mall.lib.dto.MerchantRechargeFlowDto;
import com.rockcent.mall.lib.repository.MerchantRechargeFlowRepository;
import com.rockcent.service.MerchantRechargeSrv;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 *
 * Created by zhangjh on 2017/3/28.
 */
@Service
public class MerchantRechargeSrvImpl implements MerchantRechargeSrv {

    @Autowired
    private MerchantRechargeFlowRepository merchantRechargeFlowRepository;

    @Override
    public PageResult<MerchantRechargeFlowDto> findRechargePage(MerchantRechargeFlowDto dto, PageResult page) {
        return merchantRechargeFlowRepository.findAllMerchantRechargePage(dto, page);
    }
}
